package com.kingdee.pda.plugins.http.serverinterface;

import com.kingdee.pda.plugins.http.common.OnRequestCallback;

/**
 * 登录
 * Created by zhanlg
 * DATE 2021/5/21
 * TIME 10:37
 */
public interface ILogin {

    /**
     * 登录
     * @param user          登录名
     * @param password      登录密码
     * @param accountId     账套ID
     * @param callback
     */
    void login(String user, String password, String accountId, OnRequestCallback<String> callback);

    /**
     * 退出登录
     * @param callback
     */
    void logout(OnRequestCallback<String> callback);
}
